Integrand size = 21, antiderivative size = 174 \[ \int \frac {\left (c+d x^2\right )^{5/2}}{\left (a+b x^2\right )^2} \, dx=-\frac {d (b c-2 a d) x \sqrt {c+d x^2}}{2 a b^2}+\frac {(b c-a d) x \left (c+d x^2\right )^{3/2}}{2 a b \left (a+b x^2\right )}+\frac {(b c-a d)^{3/2} (b c+4 a d) \arctan \left (\frac {\sqrt {b c-a d} x}{\sqrt {a} \sqrt {c+d x^2}}\right )}{2 a^{3/2} b^3}+\frac {d^{3/2} (5 b c-4 a d) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{2 b^3} \]
1/2*(-a*d+b*c)*x*(d*x^2+c)^(3/2)/a/b/(b*x^2+a)+1/2*(-a*d+b*c)^(3/2)*(4*a*d +b*c)*arctan(x*(-a*d+b*c)^(1/2)/a^(1/2)/(d*x^2+c)^(1/2))/a^(3/2)/b^3+1/2*d ^(3/2)*(-4*a*d+5*b*c)*arctanh(x*d^(1/2)/(d*x^2+c)^(1/2))/b^3-1/2*d*(-2*a*d +b*c)*x*(d*x^2+c)^(1/2)/a/b^2
Time = 0.57 (sec) , antiderivative size = 191, normalized size of antiderivative = 1.10 \[ \int \frac {\left (c+d x^2\right )^{5/2}}{\left (a+b x^2\right )^2} \, dx=\frac {\frac {b x \sqrt {c+d x^2} \left (b^2 c^2+2 a^2 d^2+a b d \left (-2 c+d x^2\right )\right )}{a \left (a+b x^2\right )}-\frac {\sqrt {b c-a d} \left (b^2 c^2+3 a b c d-4 a^2 d^2\right ) \arctan \left (\frac {a \sqrt {d}+b x \left (\sqrt {d} x-\sqrt {c+d x^2}\right )}{\sqrt {a} \sqrt {b c-a d}}\right )}{a^{3/2}}+d^{3/2} (-5 b c+4 a d) \log \left (-\sqrt {d} x+\sqrt {c+d x^2}\right )}{2 b^3} \]
((b*x*Sqrt[c + d*x^2]*(b^2*c^2 + 2*a^2*d^2 + a*b*d*(-2*c + d*x^2)))/(a*(a + b*x^2)) - (Sqrt[b*c - a*d]*(b^2*c^2 + 3*a*b*c*d - 4*a^2*d^2)*ArcTan[(a*S qrt[d] + b*x*(Sqrt[d]*x - Sqrt[c + d*x^2]))/(Sqrt[a]*Sqrt[b*c - a*d])])/a^ (3/2) + d^(3/2)*(-5*b*c + 4*a*d)*Log[-(Sqrt[d]*x) + Sqrt[c + d*x^2]])/(2*b ^3)
Time = 0.37 (sec) , antiderivative size = 180, normalized size of antiderivative = 1.03, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.381, Rules used = {315, 403, 27, 398, 224, 219, 291, 218}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (c+d x^2\right )^{5/2}}{\left (a+b x^2\right )^2} \, dx\) |
\(\Big \downarrow \) 315 |
\(\displaystyle \frac {\int \frac {\sqrt {d x^2+c} \left (c (b c+a d)-2 d (b c-2 a d) x^2\right )}{b x^2+a}dx}{2 a b}+\frac {x \left (c+d x^2\right )^{3/2} (b c-a d)}{2 a b \left (a+b x^2\right )}\) |
\(\Big \downarrow \) 403 |
\(\displaystyle \frac {\frac {\int \frac {2 \left (a d^2 (5 b c-4 a d) x^2+c \left (b^2 c^2+2 a b d c-2 a^2 d^2\right )\right )}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{2 b}-\frac {d x \sqrt {c+d x^2} (b c-2 a d)}{b}}{2 a b}+\frac {x \left (c+d x^2\right )^{3/2} (b c-a d)}{2 a b \left (a+b x^2\right )}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\frac {\int \frac {a d^2 (5 b c-4 a d) x^2+c \left (b^2 c^2+2 a b d c-2 a^2 d^2\right )}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{b}-\frac {d x \sqrt {c+d x^2} (b c-2 a d)}{b}}{2 a b}+\frac {x \left (c+d x^2\right )^{3/2} (b c-a d)}{2 a b \left (a+b x^2\right )}\) |
\(\Big \downarrow \) 398 |
\(\displaystyle \frac {\frac {\frac {a d^2 (5 b c-4 a d) \int \frac {1}{\sqrt {d x^2+c}}dx}{b}+\frac {(b c-a d)^2 (4 a d+b c) \int \frac {1}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{b}}{b}-\frac {d x \sqrt {c+d x^2} (b c-2 a d)}{b}}{2 a b}+\frac {x \left (c+d x^2\right )^{3/2} (b c-a d)}{2 a b \left (a+b x^2\right )}\) |
\(\Big \downarrow \) 224 |
\(\displaystyle \frac {\frac {\frac {a d^2 (5 b c-4 a d) \int \frac {1}{1-\frac {d x^2}{d x^2+c}}d\frac {x}{\sqrt {d x^2+c}}}{b}+\frac {(b c-a d)^2 (4 a d+b c) \int \frac {1}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{b}}{b}-\frac {d x \sqrt {c+d x^2} (b c-2 a d)}{b}}{2 a b}+\frac {x \left (c+d x^2\right )^{3/2} (b c-a d)}{2 a b \left (a+b x^2\right )}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle \frac {\frac {\frac {(4 a d+b c) (b c-a d)^2 \int \frac {1}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{b}+\frac {a d^{3/2} (5 b c-4 a d) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{b}}{b}-\frac {d x \sqrt {c+d x^2} (b c-2 a d)}{b}}{2 a b}+\frac {x \left (c+d x^2\right )^{3/2} (b c-a d)}{2 a b \left (a+b x^2\right )}\) |
\(\Big \downarrow \) 291 |
\(\displaystyle \frac {\frac {\frac {(4 a d+b c) (b c-a d)^2 \int \frac {1}{a-\frac {(a d-b c) x^2}{d x^2+c}}d\frac {x}{\sqrt {d x^2+c}}}{b}+\frac {a d^{3/2} (5 b c-4 a d) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{b}}{b}-\frac {d x \sqrt {c+d x^2} (b c-2 a d)}{b}}{2 a b}+\frac {x \left (c+d x^2\right )^{3/2} (b c-a d)}{2 a b \left (a+b x^2\right )}\) |
\(\Big \downarrow \) 218 |
\(\displaystyle \frac {\frac {\frac {(b c-a d)^{3/2} (4 a d+b c) \arctan \left (\frac {x \sqrt {b c-a d}}{\sqrt {a} \sqrt {c+d x^2}}\right )}{\sqrt {a} b}+\frac {a d^{3/2} (5 b c-4 a d) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{b}}{b}-\frac {d x \sqrt {c+d x^2} (b c-2 a d)}{b}}{2 a b}+\frac {x \left (c+d x^2\right )^{3/2} (b c-a d)}{2 a b \left (a+b x^2\right )}\) |
((b*c - a*d)*x*(c + d*x^2)^(3/2))/(2*a*b*(a + b*x^2)) + (-((d*(b*c - 2*a*d )*x*Sqrt[c + d*x^2])/b) + (((b*c - a*d)^(3/2)*(b*c + 4*a*d)*ArcTan[(Sqrt[b *c - a*d]*x)/(Sqrt[a]*Sqrt[c + d*x^2])])/(Sqrt[a]*b) + (a*d^(3/2)*(5*b*c - 4*a*d)*ArcTanh[(Sqrt[d]*x)/Sqrt[c + d*x^2]])/b)/b)/(2*a*b)
3.8.53.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/R t[a/b, 2]], x] /; FreeQ[{a, b}, x] && PosQ[a/b]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b}, x] && !GtQ[a, 0]
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Subst [Int[1/(c - (b*c - a*d)*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_), x_Symbol] :> Sim p[(a*d - c*b)*x*(a + b*x^2)^(p + 1)*((c + d*x^2)^(q - 1)/(2*a*b*(p + 1))), x] - Simp[1/(2*a*b*(p + 1)) Int[(a + b*x^2)^(p + 1)*(c + d*x^2)^(q - 2)*S imp[c*(a*d - c*b*(2*p + 3)) + d*(a*d*(2*(q - 1) + 1) - b*c*(2*(p + q) + 1)) *x^2, x], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && LtQ[p, - 1] && GtQ[q, 1] && IntBinomialQ[a, b, c, d, 2, p, q, x]
Int[((e_) + (f_.)*(x_)^2)/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]) , x_Symbol] :> Simp[f/b Int[1/Sqrt[c + d*x^2], x], x] + Simp[(b*e - a*f)/ b Int[1/((a + b*x^2)*Sqrt[c + d*x^2]), x], x] /; FreeQ[{a, b, c, d, e, f} , x]
Int[((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.)*((e_) + (f_.)*( x_)^2), x_Symbol] :> Simp[f*x*(a + b*x^2)^(p + 1)*((c + d*x^2)^q/(b*(2*(p + q + 1) + 1))), x] + Simp[1/(b*(2*(p + q + 1) + 1)) Int[(a + b*x^2)^p*(c + d*x^2)^(q - 1)*Simp[c*(b*e - a*f + b*e*2*(p + q + 1)) + (d*(b*e - a*f) + f*2*q*(b*c - a*d) + b*d*e*2*(p + q + 1))*x^2, x], x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && GtQ[q, 0] && NeQ[2*(p + q + 1) + 1, 0]
Time = 3.18 (sec) , antiderivative size = 156, normalized size of antiderivative = 0.90
method | result | size |
pseudoelliptic | \(-\frac {-d^{\frac {3}{2}} \left (\sqrt {d \,x^{2}+c}\, b x \sqrt {d}-4 \,\operatorname {arctanh}\left (\frac {\sqrt {d \,x^{2}+c}}{x \sqrt {d}}\right ) a d +5 \,\operatorname {arctanh}\left (\frac {\sqrt {d \,x^{2}+c}}{x \sqrt {d}}\right ) b c \right )+\frac {\left (a d -b c \right )^{2} \left (-\frac {b \sqrt {d \,x^{2}+c}\, x}{b \,x^{2}+a}-\frac {\left (4 a d +b c \right ) \operatorname {arctanh}\left (\frac {\sqrt {d \,x^{2}+c}\, a}{x \sqrt {\left (a d -b c \right ) a}}\right )}{\sqrt {\left (a d -b c \right ) a}}\right )}{a}}{2 b^{3}}\) | \(156\) |
risch | \(\text {Expression too large to display}\) | \(1029\) |
default | \(\text {Expression too large to display}\) | \(5290\) |
-1/2/b^3*(-d^(3/2)*((d*x^2+c)^(1/2)*b*x*d^(1/2)-4*arctanh((d*x^2+c)^(1/2)/ x/d^(1/2))*a*d+5*arctanh((d*x^2+c)^(1/2)/x/d^(1/2))*b*c)+(a*d-b*c)^2/a*(-b *(d*x^2+c)^(1/2)*x/(b*x^2+a)-(4*a*d+b*c)/((a*d-b*c)*a)^(1/2)*arctanh((d*x^ 2+c)^(1/2)/x*a/((a*d-b*c)*a)^(1/2))))
Time = 0.67 (sec) , antiderivative size = 1228, normalized size of antiderivative = 7.06 \[ \int \frac {\left (c+d x^2\right )^{5/2}}{\left (a+b x^2\right )^2} \, dx=\text {Too large to display} \]
[-1/8*(2*(5*a^2*b*c*d - 4*a^3*d^2 + (5*a*b^2*c*d - 4*a^2*b*d^2)*x^2)*sqrt( d)*log(-2*d*x^2 + 2*sqrt(d*x^2 + c)*sqrt(d)*x - c) + (a*b^2*c^2 + 3*a^2*b* c*d - 4*a^3*d^2 + (b^3*c^2 + 3*a*b^2*c*d -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 + (5*a*b^2*c*d - 4*a^2*b*d^2)*x^2)*sqrt(d)*log(-2*d *x^2 + 2*sqrt(d*x^2 + c)*sqrt(d)*x - c) + 2*(a*b^2*d^2*x^3 + (b^3*c^2 - 2* a*b^2*c*d + 2*a^2*b*d^2)*x)*sqrt(d*x^2 + c))/(a*b^4*x^2 + a^2*b^3), -1/...
\[ \int \frac {\left (c+d x^2\right )^{5/2}}{\left (a+b x^2\right )^2} \, dx=\int \frac {\left (c + d x^{2}\right )^{\frac {5}{2}}}{\left (a + b x^{2}\right )^{2}}\, dx \]
\[ \int \frac {\left (c+d x^2\right )^{5/2}}{\left (a+b x^2\right )^2} \, dx=\int { \frac {{\left (d x^{2} + c\right )}^{\frac {5}{2}}}{{\left (b x^{2} + a\right )}^{2}} \,d x } \]
Leaf count of result is larger than twice the leaf count of optimal. 407 vs. \(2 (146) = 292\).
Time = 0.30 (sec) , antiderivative size = 407, normalized size of antiderivative = 2.34 \[ \int \frac {\left (c+d x^2\right )^{5/2}}{\left (a+b x^2\right )^2} \, dx=\frac {\sqrt {d x^{2} + c} d^{2} x}{2 \, b^{2}} - \frac {{\left (5 \, b c d^{\frac {3}{2}} - 4 \, a d^{\frac {5}{2}}\right )} \log \left ({\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2}\right )}{4 \, b^{3}} - \frac {{\left (b^{3} c^{3} \sqrt {d} + 2 \, a b^{2} c^{2} d^{\frac {3}{2}} - 7 \, a^{2} b c d^{\frac {5}{2}} + 4 \, a^{3} d^{\frac {7}{2}}\right )} \arctan \left (\frac {{\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} b - b c + 2 \, a d}{2 \, \sqrt {a b c d - a^{2} d^{2}}}\right )}{2 \, \sqrt {a b c d - a^{2} d^{2}} a b^{3}} - \frac {{\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} b^{3} c^{3} \sqrt {d} - 4 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a b^{2} c^{2} d^{\frac {3}{2}} + 5 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a^{2} b c d^{\frac {5}{2}} - 2 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a^{3} d^{\frac {7}{2}} - b^{3} c^{4} \sqrt {d} + 2 \, a b^{2} c^{3} d^{\frac {3}{2}} - a^{2} b c^{2} d^{\frac {5}{2}}}{{\left ({\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{4} b - 2 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} b c + 4 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a d + b c^{2}\right )} a b^{3}} \]
1/2*sqrt(d*x^2 + c)*d^2*x/b^2 - 1/4*(5*b*c*d^(3/2) - 4*a*d^(5/2))*log((sqr t(d)*x - sqrt(d*x^2 + c))^2)/b^3 - 1/2*(b^3*c^3*sqrt(d) + 2*a*b^2*c^2*d^(3 /2) - 7*a^2*b*c*d^(5/2) + 4*a^3*d^(7/2))*arctan(1/2*((sqrt(d)*x - sqrt(d*x ^2 + c))^2*b - b*c + 2*a*d)/sqrt(a*b*c*d - a^2*d^2))/(sqrt(a*b*c*d - a^2*d ^2)*a*b^3) - ((sqrt(d)*x - sqrt(d*x^2 + c))^2*b^3*c^3*sqrt(d) - 4*(sqrt(d) *x - sqrt(d*x^2 + c))^2*a*b^2*c^2*d^(3/2) + 5*(sqrt(d)*x - sqrt(d*x^2 + c) )^2*a^2*b*c*d^(5/2) - 2*(sqrt(d)*x - sqrt(d*x^2 + c))^2*a^3*d^(7/2) - b^3* c^4*sqrt(d) + 2*a*b^2*c^3*d^(3/2) - a^2*b*c^2*d^(5/2))/(((sqrt(d)*x - sqrt (d*x^2 + c))^4*b - 2*(sqrt(d)*x - sqrt(d*x^2 + c))^2*b*c + 4*(sqrt(d)*x - sqrt(d*x^2 + c))^2*a*d + b*c^2)*a*b^3)
Timed out. \[ \int \frac {\left (c+d x^2\right )^{5/2}}{\left (a+b x^2\right )^2} \, dx=\int \frac {{\left (d\,x^2+c\right )}^{5/2}}{{\left (b\,x^2+a\right )}^2} \,d x \]